#!/usr/bin/env python
# -*-coding:utf-8-*-
# File    : liyuqi.py


# def args_printer(metafunc):
#     def warpper(*args, **kwargs):
#         print("{}的入参为:".format(metafunc.__name__))
#         print(args)
#         print(kwargs)
#         return metafunc(*args, **kwargs)
#     return warpper

def myfunc(first, *args, second="Hello World", **kwargs):
    print(first)
    print(args)
    print(second)
    print(kwargs)


if __name__ == '__main__':
    myfunc("dongfanger", "san", py="good")
    myfunc("dongfanger")
    myfunc("dongfanger", "san")
    myfunc("dongfanger", second="two")
    myfunc("dongfanger", second="two", p='three')
